# Install by homebrew
brew install nginx
# Check port usage
lsof -i tcp:80
# Launchd
- On System Boot:
/Library/LaunchDaemons
- On User Login:
~/Library/LaunchAgents
sudo cp /usr/local/opt/nginx/*.plist /Library/LaunchDaemons # here is system boot
sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
# Reference
Last Update: 2019-12-06 12:56:28 [Source File](/raw/Install Nginx.md)